package com.one.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class SysMenu {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "菜单或按钮名称")
    private String name;

    @ApiModelProperty(value = "程序路径")
    private String appUrl;

    @ApiModelProperty(value = "图标路径")
    private String imgUrl;

    @ApiModelProperty(value = "菜单类型（0：菜单，1：按钮）")
    private String type;

    @ApiModelProperty(value = "排序码")
    private String sortCode;

    @ApiModelProperty(value = "上级菜单Id，自引用")
    private String parentId;

    @ApiModelProperty(value = "上级菜单民字")
    private String parentName;

    @ApiModelProperty(value = "是否删除(0:否 1:是)")
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "树形菜单")
    private String parentIds;
    @ApiModelProperty(value = "是否选中")
    private boolean checked;
    @ApiModelProperty(value = "子模块")
    private List<SysMenu> children;
}
